package com.example.model;

import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class UserEvent extends Event {
    private String userId;
    private String username;
    private String action; // "CREATED", "UPDATED", "DELETED"
    
    public UserEvent() {
        super("USER_EVENT");
    }
    
    public UserEvent(String userId, String username, String action) {
        super("USER_EVENT");
        this.userId = userId;
        this.username = username;
        this.action = action;
    }
} 